//
//  HMPushOn.h
//  HMDemo
//
//  Created by mengxiangyu on 2017/7/12.
//  Copyright © 2017年 mengxiangyu. All rights reserved.
//

#import <UIKit/UIKit.h>
@class HMPushOn;

@protocol HMPushOnDelegate <NSObject>
@optional
- (void)scrollOffsetY:(CGFloat)y;

@end

@interface HMPushOn : UIView
@property (weak, nonatomic) id<HMPushOnDelegate> delegate;
- (void)showHeadview:(UIView *)headView holdViewRect:(CGRect)rect target:(id)target;
@end
